package org.x4444.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="Z_CLIENT")
public class Client implements Serializable {

	private static final long serialVersionUID = -7797475132900208934L;

	Integer id;
	
	String name;
	
	public Client() {
		super();
	}
	
	public Client(Integer id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	@Id
	public Integer getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return "" + id + " " + name;
	}
}
